using System.Data.SqlClient;

namespace Customs.Components
{
	public partial class ConnectionManager
	{
		public static string GetConnectionString(string connectionName, string maHaiQuan)
		{
            string s = string.Format("ConnectionString_{0}_{1}",maHaiQuan.ToUpper().Trim(),connectionName.Trim());
            return System.Configuration.ConfigurationManager.ConnectionStrings[s].ConnectionString;
		}
	}
}